<%--
  Created by IntelliJ IDEA.
  User: 吴超
  Date: 2022/4/24
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="cc" uri="http://mycompany.com" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
${cc:getName("xxxx")}
1111
${list[0]}
<c:forEach var="xjj" begin="1" end="6"  step="1">
    <span>${xjj}</span>
</c:forEach>
<c:if test="${!empty list1}">
    <c:choose>
        <c:when test="${list1[0].id==1}">
            1
        </c:when>
        <c:otherwise>
            2
        </c:otherwise>
    </c:choose>
</c:if>
<span>
    <c:forEach var="xjj" items="${list1}" varStatus="s">
        <span <c:if test="${s.index%2==0}"> style="color: red" </c:if> > ${xjj.getName()}+1</span>
    </c:forEach>
</span>


</body>
</html>
